package com.yt.file;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//@MapperScan("com.yt.)
@SpringBootApplication
@ComponentScan(basePackages = {"com.yt"})
@EnableAsync
@EnableTransactionManagement
@EnableScheduling
public class FileApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(FileApplication.class);
        SpringApplication.run(FileApplication.class, args);
    }

}
